import service from "@/utils/request";

export function useGetVehicleList(){
    return service.get("/slag-truck/insurance-policy/select/vehicle")
}
export function usePlanInsureInsert(data: any){
    return service.post("/slag-truck/insurance-policy", data)
}
export function useInsureInfoApi(id: string){
    return service.get("/slag-truck/insurance-policy/" + id)
}

export function useInsureAddRecordApi(data: any){
    return service.put("/slag-truck/insurance-policy", data)
}
